*{margin: 0; padding: 0;}

#nav, #nav ul {
    list-style:  none;
    position: relative;
    line-height: 1.5em;
}

#nav, #nav ul li 
{
    padding-left:10px;
}

#nav a:link, #nav a:active,
#nav a:visited {
    display: block;
    padding: 0px 5px;
    color: white;
    text-decoration: none;
    min-width:70px;
    padding:5px 3px 3px 5px;
    height: 22px;
}

#nav a:hover {
    color: #333;
}

#nav li {
    float: left;
    position: relative;
}

#nav ul {
    position: absolute;
    width: 12em;
    top: 30px;
    display: none;
    padding:0px;
    margin:0px;
    margin-left:-30px;
}
#nav ul li{
    width:120px;
}



#nav li ul a {
    width: 160px !important;
    float: left;
    background:#5197FF;
    border:none;
    border-bottom:1px solid #0055A8;
}

#nav ul ul {
    top: auto;
}

#nav ul ul li{
}


#nav li ul ul {
    left: 159px;
    margin: 0px 0 0 10px;
}

#nav li:hover ul ul, 
#nav li:hover ul ul ul,
#nav li:hover ul ul ul ul {
    display: none;
}

#nav li:hover ul,
#nav li li:hover ul,
#nav li li li:hover ul,
#nav li li li li:hover ul {
    display: block;
}























